package com.pkk.components.common.config.swagger.properties;

import java.io.Serializable;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @description: swagger的配置
 * @author: peikunkun
 * @create: 2019-07-04 13:15
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "penguin.swagger")
public class SwaggerProperties implements Serializable {

  private static final long serialVersionUID = 4616622848281771888L;

  /**
   * 是否开启
   */
  private boolean enable = true;


  /**
   * 头部
   */
  private String groupName = "开发文档";

  /**
   * 路径映射
   */
  private String pathMapping = "/";


  /**
   * 标题
   */
  private String title = "开发文档默认标题";

  /**
   * 操作人
   */
  private String name = "operater";

  /**
   * 邮箱
   */
  private String email = "test@kunzai.com";

  /**
   * 地址
   */
  private String url;

  /**
   * 描述
   */
  private String desc = "开发文档描述";

  /**
   * 基础扫描包
   */
  private String basePackage = "com.pkk";


  /**
   * 版本
   */
  private String version = "V1.0.0";


}
